<script type="text/javascript">
function save(){
	// $.ajax({
	// type: 'POST',
	// url: '<?php echo Yii::app()->createUrl("Tabungan/SaveTabungan"); ?>',
	// data:'js:{$.fn.yiiGridView.getChecked("Anggota","Anggota_c1").toJSONString()}',
  // });	
  
  //console.log($.fn.yiiGridView.getChecked("Anggota","checkboxes").toJSONString());
  alert($.fn.yiiGridView.getChecked("Anggota","checkboxes"));
}
</script>
 
<div style="width:85%" >
<?php $widget->run(); ?>
<div id="steps">
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'anggota-form',
	'enableAjaxValidation'=>false,
	'action'=>Yii::app()->createUrl("Tabungan/SaveTabungan")
)); ?>
<fieldset class="step">
<p class="submit">
		<button id="registerButton" type="button" onclick="save();">Simpan</button>&nbsp;
		<button id="registerButton" type="reset">Reset</button>&nbsp;
		<button id="registerButton" type="button" onclick="window.location.href='<?php echo Yii::app()->createUrl("Anggota");?>'">Kembali</button>
	</p>
	</fieldset>
<?php $this->endWidget(); ?>
</div>
</div>